import { createStore } from 'redux'
import reducer from'./reducer'
//传入reducer创建仓库
export default createStore(reducer)